-
-
Notifications
You must be signed in to change notification settings - Fork 3
Add nette/di 3.1 and 3.2 #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Upgrade dependencies in 2.3, 2.4, 3.0 to latest compatible versions - 2.3: nette/di ^2.3, ninjify/nunjuck ^0.3, PHP >=5.6 <7.3 - 2.4: nette/di ^2.4, ninjify/nunjuck ^0.4, PHP >=7.1 - 3.0: nette/di ^3.0, ninjify/nunjuck ^0.4, PHP >=7.1 - Add new version 3.1 (PHP >=8.0, nette/di ^3.1) - Add new version 3.2 (PHP >=8.1, nette/di ^3.2) - Update 3.1 and 3.2 SyntaxExtension to use new DI API (setType, addFactoryDefinition, addAccessorDefinition, etc.) - Update README.md with new versions table - Update .travis.yml with PHP 7.4, 8.0, 8.1, 8.2, 8.3, 8.4 jobs - Update documentation links to latest Nette docs
- Add declare(strict_types=1) to all fixture and test files - Replace PHPDoc @return/@param with native return types - Use contributte/tester instead of ninjify/nunjuck for 3.2 (PHP 8.2+) - Remove error_reporting(~E_USER_DEPRECATED) from bootstrap files
- Remove .travis.yml - Add .github/workflows/tests.yml with matrix strategy - Test all PHP versions (7.1-8.4) with appropriate DI versions
- Fix ContainerLoader::getClassName signature (mixed $key) - Remove setParameters() from FactoryDefinition (not available in 3.1+) - Remove parameters from factory services in NEON configs - Fix Contributte\Tester\Environment::setupTimezone() parameter
- Remove setParameters() from ServiceDefinition (not available in 3.1+) - Replace dynamic parameter literals with fixed values in extensions - Update NEON configs to remove parameters from services (e1-e4, g1-g5d) - Fix contributte/tester bootstrap to use Environment::setup()
5e57fec to
3de3864
Compare
85acc6c to
d895254
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.